package com.example.socialwebserver.service.impl;

import com.example.socialwebserver.mapper.CategoryMapper;
import com.example.socialwebserver.pojo.ActivityClassDAO;
import com.example.socialwebserver.service.ActivityClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActivityClassServiceImpl implements ActivityClassService {
    @Autowired
    CategoryMapper categoryMapper;
    @Override
    public List<ActivityClassDAO> SelectAll() {
        List<ActivityClassDAO> activityClassDAOS = categoryMapper.selectList(null);
        return activityClassDAOS;
    }
}
